/**
 * UserModel.java
 * @author taowei20061122@163.com
 * 2013-6-9 上午11:43:55
 */
package study.designpattern.proxy.bean;

import study.designpattern.proxy.UserModelApi;

/**
 * 描述用户数据的对象
 * @author taowei20061122@163.com
 * 2013-6-9 上午11:43:55
 */
public class UserModel implements UserModelApi {
	/**
	 * 用户编号
	 */
	private String userId;
	/**
	 * 用户姓名
	 */
	private String name;
	
	/**
	 * 部门编号
	 */
	private String depId;
	
	/**
	 * 性别
	 */
	private String sex;

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the depId
	 */
	public String getDepId() {
		return depId;
	}

	/**
	 * @param depId the depId to set
	 */
	public void setDepId(String depId) {
		this.depId = depId;
	}

	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	public String toString() {
		return "[userId=" + userId + ", name=" + name + ", depId="
				+ depId + ", sex=" + sex + "]";
	}
	
}
